package cn.qlin.mvc.orm.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Target({ElementType.FIELD,ElementType.METHOD})	//标示是属性注解
@Retention(RetentionPolicy.RUNTIME) 
@Documented 
@Inherited

public @interface OneTOMany {
	public String author()default "wuyanlin";
	public boolean lazy();	//是否懒加载
	public String col();	//列名不指定为classname+colname
}
